<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Bootstrap Template</title>
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" type="text/css" href="../bootstrap3/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="../bootstrap3/font-awesome-4.7.0/css/font-awesome.css"/>
<style type="text/css">
/* 手机设备 */
@media (max-width: 768px) { 
body{
   background-color: red;
   }
   img{
   width:100px;
   }
   h1{
   color: green;
   }
 }
/* iPad设备 */
@media (min-width: 768px) and (max-width: 992px) {
body{
   background-color: yellow;
   }
   img{
   width: 200px;
   }
   h1{
   color: blue;
   }
 }
/* 普通电脑显示器 */
@media (min-width: 992px) and (max-width: 1200px) { 
body{
   background-color: blue;
   }
   img{
   width: 400px;
   }
   h1{
   color: yellow;
   }
 }
/* 高分辨率设备 */
@media (min-width: 1200px) {
body{
   background-color: green;
   }
   img{
   width: 800px;
   }
   h1{
   color: red;
   }
}
</style>
</head>
<body>
<!-- 字体颜色   手机时绿  pad时蓝 电脑黄 大尺寸红 -->
  <h1>响应式布局测试</h1>
  <!-- 图片width 手机100px pad200 电脑400 大尺寸800 -->  
  <img src="../imgs/a.jpg">
</body>
<script type="text/javascript" src="../bootstrap3/jquery.min.js"></script>
<script type="text/javascript" src="../bootstrap3/js/bootstrap.js"></script>
<script type="text/javascript" src="../bootstrap3/js/holder.js"></script>
<script type="text/javascript" src="../bootstrap3/js/html5shiv.min.js"></script>
<script type="text/javascript" src="../bootstrap3/js/css3-mediaqueries.js"></script>
<script type="text/javascript" src="../bootstrap3/js/respond.min.js"></script>
</html>